\hypertarget{my_u_s_b_8c}{}\section{my\+U\+S\+B.\+c File Reference}
\label{my_u_s_b_8c}\index{my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}}
{\ttfamily \#include \char`\"{}ch.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}hal.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}my\+U\+S\+B.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}usbdescriptor.\+h\char`\"{}}\\*
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{my_u_s_b_8c_af49fec0a859e0154dd908a1300992617}{U\+S\+B\+D1\+\_\+\+D\+A\+T\+A\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+E\+P}~1
\item 
\#define \hyperlink{my_u_s_b_8c_a479d4019c875e69adc54ed44c496cbba}{U\+S\+B\+D1\+\_\+\+D\+A\+T\+A\+\_\+\+A\+V\+A\+I\+L\+A\+B\+L\+E\+\_\+\+E\+P}~1
\item 
\#define \hyperlink{my_u_s_b_8c_ae9e3d4ceccd6f58291755ca6f500a1b1}{U\+S\+B\+D1\+\_\+\+I\+N\+T\+E\+R\+R\+U\+P\+T\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+E\+P}~2
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{my_u_s_b_8c_ac1a87a007e1a8c089ee8d2c10b017009}{is\+Usb\+Active} (void)
\item 
void \hyperlink{my_u_s_b_8c_a0ad103d96de6e2426e7eaab1562b315b}{my\+U\+S\+Binit} (void)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
Serial\+U\+S\+B\+Driver \hyperlink{my_u_s_b_8c_a2947f9d9634b4a46f19ac5e55afd2292}{S\+D\+U1}
\item 
const U\+S\+B\+Config \hyperlink{my_u_s_b_8c_a3adf01d1e3a8935123817c89c58a0365}{usbcfg}
\item 
const Serial\+U\+S\+B\+Config \hyperlink{my_u_s_b_8c_ad763e416d84d0676c596f8a4dddd6cd0}{serusbcfg}
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\hypertarget{my_u_s_b_8c_a479d4019c875e69adc54ed44c496cbba}{}\index{my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}!U\+S\+B\+D1\+\_\+\+D\+A\+T\+A\+\_\+\+A\+V\+A\+I\+L\+A\+B\+L\+E\+\_\+\+E\+P@{U\+S\+B\+D1\+\_\+\+D\+A\+T\+A\+\_\+\+A\+V\+A\+I\+L\+A\+B\+L\+E\+\_\+\+E\+P}}
\index{U\+S\+B\+D1\+\_\+\+D\+A\+T\+A\+\_\+\+A\+V\+A\+I\+L\+A\+B\+L\+E\+\_\+\+E\+P@{U\+S\+B\+D1\+\_\+\+D\+A\+T\+A\+\_\+\+A\+V\+A\+I\+L\+A\+B\+L\+E\+\_\+\+E\+P}!my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}}
\subsubsection[{U\+S\+B\+D1\+\_\+\+D\+A\+T\+A\+\_\+\+A\+V\+A\+I\+L\+A\+B\+L\+E\+\_\+\+E\+P}]{\setlength{\rightskip}{0pt plus 5cm}\#define U\+S\+B\+D1\+\_\+\+D\+A\+T\+A\+\_\+\+A\+V\+A\+I\+L\+A\+B\+L\+E\+\_\+\+E\+P~1}\label{my_u_s_b_8c_a479d4019c875e69adc54ed44c496cbba}
\hypertarget{my_u_s_b_8c_af49fec0a859e0154dd908a1300992617}{}\index{my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}!U\+S\+B\+D1\+\_\+\+D\+A\+T\+A\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+E\+P@{U\+S\+B\+D1\+\_\+\+D\+A\+T\+A\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+E\+P}}
\index{U\+S\+B\+D1\+\_\+\+D\+A\+T\+A\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+E\+P@{U\+S\+B\+D1\+\_\+\+D\+A\+T\+A\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+E\+P}!my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}}
\subsubsection[{U\+S\+B\+D1\+\_\+\+D\+A\+T\+A\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+E\+P}]{\setlength{\rightskip}{0pt plus 5cm}\#define U\+S\+B\+D1\+\_\+\+D\+A\+T\+A\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+E\+P~1}\label{my_u_s_b_8c_af49fec0a859e0154dd908a1300992617}
\hypertarget{my_u_s_b_8c_ae9e3d4ceccd6f58291755ca6f500a1b1}{}\index{my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}!U\+S\+B\+D1\+\_\+\+I\+N\+T\+E\+R\+R\+U\+P\+T\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+E\+P@{U\+S\+B\+D1\+\_\+\+I\+N\+T\+E\+R\+R\+U\+P\+T\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+E\+P}}
\index{U\+S\+B\+D1\+\_\+\+I\+N\+T\+E\+R\+R\+U\+P\+T\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+E\+P@{U\+S\+B\+D1\+\_\+\+I\+N\+T\+E\+R\+R\+U\+P\+T\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+E\+P}!my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}}
\subsubsection[{U\+S\+B\+D1\+\_\+\+I\+N\+T\+E\+R\+R\+U\+P\+T\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+E\+P}]{\setlength{\rightskip}{0pt plus 5cm}\#define U\+S\+B\+D1\+\_\+\+I\+N\+T\+E\+R\+R\+U\+P\+T\+\_\+\+R\+E\+Q\+U\+E\+S\+T\+\_\+\+E\+P~2}\label{my_u_s_b_8c_ae9e3d4ceccd6f58291755ca6f500a1b1}


\subsection{Function Documentation}
\hypertarget{my_u_s_b_8c_ac1a87a007e1a8c089ee8d2c10b017009}{}\index{my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}!is\+Usb\+Active@{is\+Usb\+Active}}
\index{is\+Usb\+Active@{is\+Usb\+Active}!my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}}
\subsubsection[{is\+Usb\+Active(void)}]{\setlength{\rightskip}{0pt plus 5cm}int is\+Usb\+Active (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{my_u_s_b_8c_ac1a87a007e1a8c089ee8d2c10b017009}
\hypertarget{my_u_s_b_8c_a0ad103d96de6e2426e7eaab1562b315b}{}\index{my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}!my\+U\+S\+Binit@{my\+U\+S\+Binit}}
\index{my\+U\+S\+Binit@{my\+U\+S\+Binit}!my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}}
\subsubsection[{my\+U\+S\+Binit(void)}]{\setlength{\rightskip}{0pt plus 5cm}void my\+U\+S\+Binit (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{my_u_s_b_8c_a0ad103d96de6e2426e7eaab1562b315b}


\subsection{Variable Documentation}
\hypertarget{my_u_s_b_8c_a2947f9d9634b4a46f19ac5e55afd2292}{}\index{my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}!S\+D\+U1@{S\+D\+U1}}
\index{S\+D\+U1@{S\+D\+U1}!my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}}
\subsubsection[{S\+D\+U1}]{\setlength{\rightskip}{0pt plus 5cm}Serial\+U\+S\+B\+Driver S\+D\+U1}\label{my_u_s_b_8c_a2947f9d9634b4a46f19ac5e55afd2292}
\hypertarget{my_u_s_b_8c_ad763e416d84d0676c596f8a4dddd6cd0}{}\index{my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}!serusbcfg@{serusbcfg}}
\index{serusbcfg@{serusbcfg}!my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}}
\subsubsection[{serusbcfg}]{\setlength{\rightskip}{0pt plus 5cm}const Serial\+U\+S\+B\+Config serusbcfg}\label{my_u_s_b_8c_ad763e416d84d0676c596f8a4dddd6cd0}
{\bfseries Initial value\+:}
\begin{DoxyCode}
= \{
        &USBD1,
        \hyperlink{my_u_s_b_8c_af49fec0a859e0154dd908a1300992617}{USBD1\_DATA\_REQUEST\_EP},
        \hyperlink{my_u_s_b_8c_a479d4019c875e69adc54ed44c496cbba}{USBD1\_DATA\_AVAILABLE\_EP},
        \hyperlink{my_u_s_b_8c_ae9e3d4ceccd6f58291755ca6f500a1b1}{USBD1\_INTERRUPT\_REQUEST\_EP}
\}
\end{DoxyCode}
\hypertarget{my_u_s_b_8c_a3adf01d1e3a8935123817c89c58a0365}{}\index{my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}!usbcfg@{usbcfg}}
\index{usbcfg@{usbcfg}!my\+U\+S\+B.\+c@{my\+U\+S\+B.\+c}}
\subsubsection[{usbcfg}]{\setlength{\rightskip}{0pt plus 5cm}const U\+S\+B\+Config usbcfg}\label{my_u_s_b_8c_a3adf01d1e3a8935123817c89c58a0365}
{\bfseries Initial value\+:}
\begin{DoxyCode}
= \{
        usb\_event,
        get\_descriptor,
        sduRequestsHook,
        NULL
\}
\end{DoxyCode}
